package avicit.bdp.dms.tdm.dto;

import avicit.bdp.dms.dss.dto.ColumnInfoDto;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2023-12-13 17:35
 * @类说明：
 * @修改记录：
 */
@Entity
public class ColumnDTO extends ColumnInfoDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字段名称")
    private String name;

    @ApiModelProperty(value = "中文名称")
    private String cnName;

    @ApiModelProperty(value = " 数据类型")
    private String columnType;

    @ApiModelProperty(value = "是否参数")
    private Boolean isParam;
    @ApiModelProperty(value = "参数操作符")
    private String isSymbol;

    @ApiModelProperty(value = "是否返回")
    private Boolean isReturn;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getCnName() {
        return cnName;
    }

    @Override
    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public Boolean getIsParam() {
        return isParam;
    }

    public void setIsParam(Boolean param) {
        isParam = param;
    }

    public Boolean getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Boolean aReturn) {
        isReturn = aReturn;
    }

    public String getIsSymbol() {
        return isSymbol;
    }

    public void setIsSymbol(String isSymbol) {
        this.isSymbol = isSymbol;
    }
}
